package com.wn.system.config;

import ch.qos.logback.classic.pattern.MessageConverter;
import com.wn.common.utils.JwtTemplate;
//import org.springframework.amqp.support.converter.Jackson2JsonMessageConverter;
//import org.springframework.amqp.support.converter.MessageConverter;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author yellow Docter
 * @date 2024-09-05
 * @desc 蜗牛创想：www.woniuxy.com
 */
@Configuration
public class JWTConfig {

    @Bean
    public JwtTemplate jwtTemplate(){
        return new JwtTemplate();
    }

//    @Bean
//    public MessageConverter messageConverter() {
//        return new Jackson2JsonMessageConverter();
//    }
}
